package com.dindang.checkline.mvp.model.entity;

import com.dindang.checkline.mvp.greendao.entity.CheckItem;
import com.google.gson.annotations.SerializedName;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;

import java.util.Date;
import java.util.List;

/**
 * Created by cxw on &{DATE}
 */

public class CheckItemEntity {
        /**
         * lBuilding : 1138
         * cNo : NO111
         * lId : 30
         * cName : 修改的巡检点
         * cDesc : 这里要经常打扫
         * cQrcode : 647
         * dCreate : Mar 15, 2019 5:03:01 PM
         * items : [{"c_content":"333","c_desc":"222","l_typeid":1,"c_method":"222","c_name":"测试191","l_id":1,"c_status":"1"},{"c_content":"111","c_desc":"111","l_typeid":9,"c_method":"111","c_name":"测试19","l_id":2,"c_status":"1"}]
         * cStatus :
         * cPosition : 丁当小区-20幢-1单元
         */

        private List<CheckItem> items;


        public List<CheckItem> getItems() {
            return items;
        }

        public void setItems(List<CheckItem> items) {
            this.items = items;
        }


        public  static  class ItemDetail{
            public Long id;
            public Long pointid;//巡检项id
            public Long userid;//登录用户内部编码
            public String status;
            public String unomalDescribe;//异常说明
            public String img;//图片
            public String remarks;//备注
            public Date checkTime;//检查的时间

            public void setId(Long id) {
                this.id = id;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public Long getId() {
                return id;
            }

            public String getStatus() {
                return status;
            }

            public Long getUserid() {
                return userid;
            }

            public void setUserid(Long userid) {
                this.userid = userid;
            }


            public String getUnomalDescribe() {
                return unomalDescribe;
            }

            public void setUnomalDescribe(String unomalDescribe) {
                this.unomalDescribe = unomalDescribe;
            }

            public String getImg() {
                return img;
            }

            public void setImg(String img) {
                this.img = img;
            }

            public void setPointid(Long pointid) {
                this.pointid = pointid;
            }

            public void setRemarks(String remarks) {
                this.remarks = remarks;
            }

            public Long getPointid() {
                return pointid;
            }

            public String getRemarks() {
                return remarks;
            }

            public Date getCheckTime() {
                return checkTime;
            }

            public void setCheckTime(Date checkTime) {
                this.checkTime = checkTime;
            }
        }
        public static class DetailParam{
            public String id;
        }
    }
